using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Galaktika.BI.Extensibility.Dom.Dac
{
    [XmlRoot(Namespace=Galaktika.BI.Silverlight.Common.Namespace)]
    public class BrickDataBinding : BrickObject
    {
        public BrickDataBinding()
        {
        }

        public BrickDataBinding(string propertyName, string sourceName, string path)
            : base()
        {
            this.PropertyName = propertyName;
            this.DataSourceName = sourceName;
            this.Path = path;
        }

        public string Path { get; set; }

        public string PropertyName { get; set; }

        public string DataSourceName { get; set; }
    }
}
